package com.springboot.rookie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.springboot.rookie.mapper.SysMenuMapper;
import com.springboot.rookie.pojo.SysMenuBean;
import com.springboot.rookie.service.SysMenuService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenuBean> implements SysMenuService {
    @Override
    public List<SysMenuBean> getAll() {
        return baseMapper.getAll();
    }

    @Override
    public boolean updateSingle(SysMenuBean bean) {

        return baseMapper.updateSingle(bean);
    }
}
